package com.example.prison.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.prison.entity.SecurityList;
import com.example.prison.entity.vo.PatrolTrajectoryVO;
import com.example.prison.entity.vo.SecurityListVO;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【security_list】的数据库操作Service
* @createDate 2023-04-11 17:10:33
*/
public interface SecurityListService extends IService<SecurityList> {

    PageInfo<SecurityList> getSecurityList(int pageNumber, int pageSize);

    PageInfo<SecurityListVO> getInfoList(int pageNumber, int pageSize, String sn, String beginTime, String endTime);

    void addSecurityRecord(SecurityList securityList);

    void delete(Integer[] ids);

    SecurityList getById(Integer id);

    PageInfo<SecurityListVO> getListByTime(int pageNumber, int pageSize, String beginTime, String endTime);

    PageInfo<SecurityListVO> getListBySN(int pageNumber, int pageSize, String sn);

    PageInfo<PatrolTrajectoryVO> getPatrolTrajectory(int pageNumber, int pageSize);
}
